package yf.mall.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import yf.mall.entity.AppCourseEntity;
import yf.mall.entity.AppCourseEntityExample;

@Mapper
@Repository
public interface AppCourseExtMapper {
    long countByExample(AppCourseEntityExample example);

    int deleteByExample(AppCourseEntityExample example);

    int deleteByPrimaryKey(Long id);

    int insert(AppCourseEntity record);

    int insertSelective(AppCourseEntity record);

    List<AppCourseEntity> selectByExample(AppCourseEntityExample example);

    AppCourseEntity selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") AppCourseEntity record, @Param("example") AppCourseEntityExample example);

    int updateByExample(@Param("record") AppCourseEntity record, @Param("example") AppCourseEntityExample example);

    int updateByPrimaryKeySelective(AppCourseEntity record);

    int updateByPrimaryKey(AppCourseEntity record);
}